package com.sdau.zhang.service;

import com.sdau.zhang.vo.Product;

import java.util.List;


public interface IProductService {

    boolean insertProduct(Product product);

    List queryAll();

    String getVegetById(int id);

    Product queryById(int id);

    boolean deal(int pid,int num);

    int MaxId();
}
